package com.teufandsub.socialproximity.logic;

import java.util.ArrayList;

public class Conversation {

	private ArrayList<Message> messages;
	
	public Conversation() {
		messages = new ArrayList<Message>();
	}
	
	public ArrayList<Message> getMessages(){
		return messages;
	}
	
	public void addMessage(String author,String dest, String content){
		messages.add(new Message(author,dest, content));
	}
	
	public void addMessage(Message message){
		messages.add(message);
	}
}
